package com.laundry.dao;

import com.laundry.entity.Promotion;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PromotionDao extends JpaRepository<Promotion, Long> {
    List<Promotion> findByStatus(Integer status);
} 